<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@page import="java.sql.Connection" %>
<%@page import="java.sql.Statement" %>
<%@page import="java.sql.PreparedStatement" %>
<%@page import="java.sql.ResultSet" %>
<%@page import="java.sql.SQLException" %>
<%@page import="java.util.List" %>
<%@page import="java.util.ArrayList" %>
<%@page import="bean.User" %>

<%@page import="utils.DBCPUtil" %>
<%@page import="org.apache.commons.dbutils.QueryRunner" %>
<%@page import="org.apache.commons.dbutils.handlers.BeanHandler" %>
<%@page import="org.apache.commons.dbutils.handlers.BeanListHandler" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>群发邮件</title>
<script src="js/ajax.js"></script>
<style>
input{
	width:100%;
	height:25px;
}
a{
	text-decoration: none;
}
li a{
	color:#555555;
	font-size:20px;
	border:1px;
	display:block;
	width:100%;
	height:30px;
	padding-top:10px;
    text-align: center;
}

li a:hover{
    background-color:#E7E7E7;
}

button{
	width:50px;
	margin:5px;
	margin-left:7%;
}

tr th{
	height:30px;
}

tr.scrolltype{
	display:table; 
	width: 100%; 
	height:30px;
	table-layout:fixed;
}

tr.scrolltype:hover{
	background-color:#FFFFC0;
}

.first{
	width:80px;
}
</style>
</head>
<body>
<div class="title" style="width:100%; height:80px; background-color:#7080A6; color:white; text-align:center; padding-top:8px; box-sizing:border-box;">
	<h1 class="thetiltle">邮件服务器管理界面</h1>
</div>

<div class="left" style="float:left; background-color:#D2DFF0; width:15%; height:500px;"> 
	<ul style="list-style:none; margin:0px; padding:0px; margin-top:20px;">
		<li><a href="serverManage.jsp">服务器管理</a></li>
		<li><a href="userManage.jsp">用户管理</a></li>
		<li><a href="logManage.jsp" >日志管理</a></li>
		<li><a href="sendMails.jsp">群发邮件</a></li>
	</ul>
</div>
<div class="right" style="float:left; width:85%; height:500px;">
	<form action="./Login_out">
			<button style="margin-left: 95%; margin-top: 3px; display: inline;"
				type="submit">退出</button>
	</form>
	

	<div id="mailcontent">
		<p style="margin-left:3%; margin-top:30px;">邮件内容：</p>
		<form method="post" action="./massMail">
		<textarea style="width:85%; height:300px; margin-left:5%; margin-top:20px;" name="Content"></textarea>
		<button type="submit" style="margin-right:20px;margin-top:20px;margin-left:85%;">发送</button>
		</form>
	</div>
</div>

<div class="copyright" style="clear:both; width:100%; height:50px; background-color:#7080A6; color:white; text-align:center; box-sizing:border-box; padding-top:1px;">
	<h3>版权所有：邮件服务器</h3>
</div>
</body>
</html>